package ru.agiledev.wikiservice;

import javax.xml.bind.annotation.*;
import java.util.HashSet;

/**
 * Object for passing word representation from wiki
 * Created by a.kirillov
 * Date: 11/10/11 Time: 9:11 PM
 */
@XmlRootElement(name = "WiktionaryService", namespace ="http://wikiservice.agiledev.ru/")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "lWord")
public class LWord {
    String value;
    HashSet<String> stems;

    public LWord(){};

    public LWord(String value) {
        this.value = value;
    }

    public LWord(String value, HashSet<String> stems) {
        this.value = value;
        this.stems = stems;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public HashSet<String> getStems() {
        return stems;
    }

    public void setStems(HashSet<String> stems) {
        this.stems = stems;
    }
}
